package com.lxw.manage_cms.service;


import com.lxw.framework.domain.cms.CmsPage;
import com.lxw.framework.domain.cms.CmsSite;
import com.lxw.manage_cms.dao.CmsSiteDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CmsSiteServiceImpl implements ICmsSiteService {

    @Autowired
    CmsSiteDao cmsSiteDao;

    @Override
    public List<CmsSite> findSites() {
        List<CmsSite> all = cmsSiteDao.findAll();

        return all;
    }

}
